package com.ruoyi.standingbook.recycle.service;

import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.standingbook.cleaning.domain.vo.CleaningImportDetailVo;
import com.ruoyi.standingbook.recycle.domain.bo.RecycleImportDetailBo;
import com.ruoyi.standingbook.recycle.domain.vo.RecycleImportDetailVo;

import java.util.Collection;
import java.util.List;

/**
 * 垃圾清运导入明细Service接口
 *
 * @author cc
 * @date 2023-04-28
 */
public interface IRecycleImportDetailService {

    /**
     * 查询垃圾清运导入明细
     */
    RecycleImportDetailVo queryById(Long id);

    /**
     * 查询垃圾清运导入明细列表
     */
    TableDataInfo<RecycleImportDetailVo> queryPageList(RecycleImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询垃圾清运导入明细列表
     */
    List<RecycleImportDetailVo> queryList(RecycleImportDetailBo bo);

    /**
     * 新增垃圾清运导入明细
     */
    Boolean insertByBo(RecycleImportDetailBo bo);

    /**
     * 修改垃圾清运导入明细
     */
    Boolean updateByBo(RecycleImportDetailBo bo);

    /**
     * 校验并批量删除垃圾清运导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 批量插入
     */
    Boolean batchInsertVo(List<RecycleImportDetailVo> voList);
}
